home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Broadcaster / Protocols / PreparingToQuit.h < prev    next >
Text File  |  2000-06-23  |  406b  |  24 lines

  1. // PreparingToQuit.h
  2.  
  3. #ifndef PreparingToQuit_h
  4. #define PreparingToQuit_h
  5.  
  6. #ifndef SavingOption_h
  7. #include "SavingOption.h"
  8. #endif
  9.  
  10. template < class Protocol > class Broadcaster;
  11.  
  12. class PreparingToQuit
  13.   {
  14.     protected:
  15.         ~PreparingToQuit()                {}
  16.     
  17.     public:
  18.         virtual void PrepareToQuit( SavingOption save = SavingOption::ask ) = 0;
  19.         
  20.         static Broadcaster< PreparingToQuit >& TheBroadcaster();
  21.   };
  22.  
  23. #endif
  24.